package blog;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j//开启日志
@SpringBootApplication//开启springboot
@ServletComponentScan//开启对过滤器的支持
@EnableTransactionManagement //开启对事物管理的支持
@EnableAsync//异步方法调用
public class VideoApplication {
    public static void main(String[] args) {
        SpringApplication.run(VideoApplication.class,args);
        log.info("项目启动成功...");
}

    }